name := "akka-streaming"

version := "1.0"

organization := "com.manning"

libraryDependencies ++= {
  val akkaVersion = "2.4.17"
  val akkaHttpVersion = "10.0.6"
  Seq(
    "com.typesafe.akka"         %%  "akka-actor"                          % akkaVersion withSources(),

    "com.typesafe.akka"         %% "akka-stream"                          % akkaVersion withSources(),
    "com.typesafe.akka"         %% "akka-http-core"                       % akkaHttpVersion withSources(),
    "com.typesafe.akka"         %% "akka-http"                            % akkaHttpVersion withSources(),
    "com.typesafe.akka"         %% "akka-http-spray-json"                 % akkaHttpVersion withSources(),
    "com.typesafe.akka"         %%  "akka-testkit"                        % akkaVersion   % "test" withSources(),
    "com.typesafe.akka"         %%  "akka-multi-node-testkit"             % akkaVersion   % "test" withSources(),

    "org.scalatest"             %%  "scalatest"                           % "3.0.0"       % "test",

    "com.typesafe.akka"         %%  "akka-slf4j"                          % akkaVersion
  )
}

// Assembly settings
mainClass in Global := Some("com.galudisu.Main")

assemblyJarName in assembly := "streaming-example.jar"
